<!--{template user/header}-->
<div style="height:30px;">&nbsp;</div>
<form id="auctiongoods" method="post" action="site.php?action=statistic&aid=$aid">
<table class="list-table" border="0" cellpadding="0" cellspacing="0">
	<thead>
		<tr>
			<th colspan="4" class="lt-th" style="position:relative;">
				<strong>推荐列表</strong>
				<div style="position:absolute;right:90px;top:2px;">
					<select name="tyear" onchange="this.form.submit()">
					<!--{loop $years $year}-->
					<option value="$year"{if $year == $current_year} selected="selected"{/if}>$year</option>
					<!--{/loop}-->
					</select>&nbsp;年&nbsp;
					<select name="tmonth" onchange="this.form.submit()">
					<option value="-1">全部</option>
					<!--{loop $months $month}-->
					<option value="$month"{if $month == $current_month} selected="selected"{/if}>$month</option>
					<!--{/loop}-->
					</select>&nbsp;月&nbsp;
					<select name="tdate" onchange="this.form.submit()">
					<option value="-1">全部</option>
					<!--{loop $dates $date}-->
					<option value="$date"{if $date == $current_date} selected="selected"{/if}>$date</option>
					<!--{/loop}-->
					</select>&nbsp;日
				</div>
				<select id="listType" name="type" style="position:absolute;right:1px;top:2px;" onchange="this.form.submit()">
					<option value="list">列表显示</option>
					<option value="charts">图片显示</option>
				</select>
			</th>
		</tr>
	</thead>
	<tbody>
		<tr class="lt-title">
			<th class="first" width="100">IP</th>
			<th width="200">来源地址</th>
			<th>点击团购/广告</th>
			<th width="120" class="last">点击时间</th>
		</tr>
		<!--{loop $list $item}-->
		<tr>
			<td class="lt-td first">
				$item[ip]
			</td>
			<td class="lt-td tl">
				$item[referer]
			</td>
			<td class="lt-td tl">
				$item[rec_name]
			</td>
			<td class="lt-td last">
				$item[click_time]
			</td>
		</tr>
		<!--{/loop}-->
	</tbody>
	<!--{if $pager['page_count'] > 0}-->
	<tfoot>
		<tr>
			<td colspan="8" class="pages">
				<!--{subtemplate user/pages}-->
			</td>
		</tr>
	</tfoot>
	<!--{/if}-->
</table>
</form>
<!--{template user/footer}-->